package OutputWriter::Filter;

use JIP::ToolSet; # load my commonly-used modules in a single import
use parent qw( OutputWriter );

use English qw( -no_match_vars );

sub saveFileMetadata {
    my $self = shift;

    my %params = @ARG;

    $self->_write(
        join '<*|*>', (
            $params{'host_id'},
            $params{'name'},
            $params{'path'},
            $params{'size'},
        )
    );
}

sub saveDirMetadata {
    my $self = shift;

    my %params = @ARG;

    $self->_write(
        join '<*|*>', (
            $params{'host_id'},
            $params{'name'},
            $params{'path'},
        )
    );
}

1;
